{% for version, release in context.history.released.items() %}
## {{ version.as_tag() }} ({{ release.tagged_date.strftime("%Y-%m-%d") }})

    {% if "breaking" in release["elements"] %}
### BREAKING CHANGES
        {% for commit in release["elements"]["breaking"] %}
* {% if commit.scope %}**{{ commit.scope }}**: {% endif %}{{ commit.commit.summary[commit.commit.summary.find(": ")+1:].strip() }} ([`{{ commit.short_hash }}`]({{ commit.commit.hexsha | commit_hash_url }}))
        {% endfor %}
    {% endif %}

    {% if "features" in release["elements"] %}
### Features
        {% for commit in release["elements"]["features"] %}
* {% if commit.scope %}**{{ commit.scope }}**: {% endif %}{{ commit.commit.summary[commit.commit.summary.find(": ")+1:].strip() }} ([`{{ commit.short_hash }}`]({{ commit.commit.hexsha | commit_hash_url }}))
        {% endfor %}
    {% endif %}

    {% if "bug fixes" in release["elements"] %}
### Bug Fixes
        {% for commit in release["elements"]["bug fixes"] %}
* {% if commit.scope %}**{{ commit.scope }}**: {% endif %}{{ commit.commit.summary[commit.commit.summary.find(":")+1:].strip() }} ([`{{ commit.short_hash }}`]({{ commit.commit.hexsha | commit_hash_url }}))
        {% endfor %}
    {% endif %}

{% endfor %}